<template>
    <div>
        <div class="banner">
            <el-carousel>
                <el-carousel-item v-for="item in 4" :key="item">
                    <h3>
                        <img src="../image/banner.jpeg">
                    </h3>
                </el-carousel-item>
            </el-carousel>
        </div>

        <div class="search">
            <el-autocomplete placeholder="Please Input" />
            <el-button type="primary" :icon="Search">Search</el-button>
        </div>

        <Level />
        <PageInfo />
    </div>
</template>
<script setup name="home">
import Level from '@/view/level/index.vue'
import Card from '@/view/card/index.vue'
import request from '@/util/request'
import PageInfo from '@/view/PageInfo.vue';
import { ref, onMounted } from 'vue';
import { requstHosptital } from '@/api/Home.ts'
import {
    Check,
    Delete,
    Edit,
    Message,
    Search,
    Star,
} from '@element-plus/icons-vue';




// 在此添加组件的其他逻辑
</script>
<style scoped lang="scss">
.banner {
    width: 90%;
    height: 350px;
    overflow: hidden;
    margin-left: 100px;


    img {
        width: 100%;
    }
}


.search {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 100px;
}
</style>
